package com.ly.honor.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author 李某人
 * @Date 2023/3/2 23:54
 * @Version 1.0
 */
@Data
public class GameCreatDTO {

    @NotBlank(message = "游戏名称不能为空")
    private String name;

    @NotNull(message = "游戏热度不能为空")
    private Integer heat;

    @NotNull(message = "注册人数不能为空")
    private Integer registerPerson;

    @NotBlank(message = "公司名称不能为空")
    private String company;

}
